function createView(json) {
    console.log(json)
    let view = View()
    view.idName = "qwer"
    view.backgroundColor("#DCDCDC")
    console.log(view)
    console.log(view.idName)

    let label = Label()
    label.text = "123456"
    label.frame = {x:20,y:100,width:200,height:20}
    label.backgroundColor("#FFE4E1")
    view.addSubview(label)

    
    return view;
}


